local skel = fk.CreateSkill {
  name = "lb__pianyi",
  tags = {Skill.Compulsory}
}
local U = require "packages.utility.utility"

Fk:loadTranslationTable {
  ["lb__pianyi"] = "翩仪",
  [":lb__pianyi"] = "<b>锁定技</b>，你于回合外登场后，结束当前回合。",

  ["$lb__pianyi1"] = "让我看看能用它做些什么。",
  ["$lb__pianyi2"] = "真是浪费时间。",
}

skel:addEffect(U.GeneralAppeared, {
  anim_type = "control",
  can_trigger = function(self, event, target, player, data)
    return player:hasSkill(skel.name) and target == player and player.room.current ~= player
  end,
  on_use = function(self, event, target, player, data)
    player.room:endTurn()
  end,
})

return skel